//
//  FirstPageVC.m
//  CreateValueCloud
//
//  Created by 刘英胜 on 17/2/22.
//  Copyright © 2017年 BJZhongHeHuangPU. All rights reserved.
//

#import "FirstPageVC.h"

@interface FirstPageVC ()

@end

@implementation FirstPageVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    
//    [NSThread sleepForTimeInterval:3.0];
    
   UIWebView  *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 20, CZDeviceWidth, CZDeviceHeight-20)];
    webView.backgroundColor = [UIColor whiteColor];
    [webView setScalesPageToFit:YES];//调整webView的显示样式
    NSURL *url =[NSURL URLWithString:@"http://value.hopechina.cc/H5/weChatCode?state=loginH5&isFromWechat=N"];
    NSURLRequest *request =[NSURLRequest requestWithURL:url];
    [webView loadRequest:request];
    [self.view addSubview:webView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
